import request from '@/utils/request.js'
// 获取商品列表
export const getGoodsList = params => {
  return request({
    method: 'GET',
    url: 'all-goods-order',
    params
  })
}
// 获取优惠券列表
export const getDiscount = DiscountId => {
  return request({
    method: 'GET',
    url: '/discounts/' + DiscountId
  })
}
